package toman.jpa;

import toman.QueryEngine;
import toman.QueryEngineSelectorImpl;
import toman.TOManImpl;

import javax.persistence.EntityManager;
import javax.persistence.Parameter;
import javax.persistence.Query;
import javax.persistence.TemporalType;
import java.lang.reflect.InvocationTargetException;
import java.util.*;

/**
 * User: zslajchrt
 * Date: 21.4.11
 * Time: 15:11
 */
public class JPATOMan extends TOManImpl {

    public JPATOMan(EntityManager em) {
        super(new QueryEngineSelectorImpl(Arrays.<QueryEngine>asList(new JPAQueryEngine(em))));
    }

}

